/* 基础样式 */
body {
    font-family: 'Microsoft YaHei', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 50px;
}

h1 {
    color: #d32f2f;
    text-align: center;
    margin-bottom: 30px;
    font-weight: normal;
}

/* 表单样式 */
.couplet-form {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

textarea, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

.actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

button {
    padding: 10px 20px;
    background-color: #d32f2f;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    flex: 1;
}

button:hover {
    background-color: #b71c1c;
}

/* 对联展示样式 */
.couplet-display {
    background-color: #f0e6d2;
    padding: 30px;
    border-radius: 5px;
    text-align: center;
    font-size: 24px;
    line-height: 1.8;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.first-line, .second-line {
    margin: 10px 0;
    color: #d32f2f;
    font-weight: bold;
}

.first-line {
    border-bottom: 2px solid #d32f2f;
    padding-bottom: 10px;
}

.second-line {
    padding-top: 10px;
}